//
//  YYThemeStyleManger.swift
//  STMusic
//
//  Created by stoneobs on 17/4/1.
//  Copyright © 2017年 stoneobs. All rights reserved.
//
//**********************主题样式管理***************************
import UIKit

class YYThemeStyleManger: NSObject {

    //水墨色
    var currentColor:UIColor! = UIColor.init(red: 56/255, green: 60/255, blue: 65/255, alpha: 1);
    //背景色
    var backeGroundColor:UIColor! = UIColor.init(red: 91/255, green: 80/255, blue: 100/255, alpha: 1);
    static let defultManger = YYThemeStyleManger.init();
    //私有化init，单列模式
    private override init() {
        super.init();
       
    }

    func gradualColor(frame:CGRect) -> UIColor{
        return   GradientColor(.leftToRight, frame: frame, colors: [FlatWhite(),FlatWhiteDark()]);
     return   GradientColor(.leftToRight, frame: frame, colors: [FlatPlum(),FlatPlumDark()]);
    }
    //改变语言，当前只支持英文，中文
    func changeLaguage() -> Void {
        
    }
}
